﻿
namespace NPMonitor
{
    public enum FunctionEnum
    {
        None, Machines, Jobs, Workflows, Users, Locations, Reports, Setting, CrossLocation, TimeAverage, HttpRequest
    }

    public enum TaskType
    {
        Job, Workflow
    }

    /// <summary>
    /// 接收邮件事件类型
    /// </summary>
    public enum NotificationEvent
    {
        JobSuccess, JobFailed, Report
    }

    /// <summary>
    /// 发送的邮件状态
    /// </summary>
    public enum MailStatus
    {
        NoSend = 0,
        Sending = 1,
        Successed = 2,
        Failed = 3
    }

    public enum Connectivities
    {
        Connected, Unconnected
    }

    public enum TrafficLights
    {
        green,
        yellow,
        red
    }

    public enum ReportType
    {
        Hourly, Daily, Weekly, Monthly, Yearly, HttpRequests
    }
}
